home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / migcmd / syscalls.c < prev    next >
Encoding:
C/C++ Source or Header  |  1990-02-16  |  3.8 KB  |  117 lines

  1. /* 
  2.  * syscalls.c --
  3.  *
  4.  *    File to declare system call names as a global array.
  5.  *
  6.  * Copyright 1988 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  */
  15.  
  16. #ifndef lint
  17. static char rcsid[] = "$Header: /sprite/src/cmds/migcmd/RCS/syscalls.c,v 1.2 90/02/16 11:08:43 douglis Exp $ SPRITE (Berkeley)";
  18. #endif not lint
  19.  
  20.  
  21. #include "syscalls.h"
  22.  
  23. SysCallInfo sysCallArray[] = {
  24.     "Proc_Fork",        0,
  25.     "Proc_Exec",                0,
  26.     "Proc_Exit",                0,
  27.     "Sync_WaitTime",            1,
  28.     "Test_PrintOut",            1,    
  29.     "Test_GetLine",             1,
  30.     "Test_GetChar",             1,
  31.     "Fs_OpenStub",              1,
  32.     "Fs_ReadStub",              1,
  33.     "Fs_WriteStub",             1,
  34.     "Fs_UserClose",             1,
  35.     "Fs_RemoveStub",            1,
  36.     "Fs_RemoveDirStub",         1,
  37.     "Fs_MakeDirStub",           1,
  38.     "Fs_ChangeDirStub",         1,
  39.     "Proc_Wait",                0,
  40.     "Proc_Detach",              0,
  41.     "Proc_GetIDs",              1,
  42.     "Proc_SetIDs",              1,
  43.     "Proc_GetGroupIDs",         1,
  44.     "Proc_SetGroupIDs",         0,
  45.     "Proc_GetFamilyID",         0,
  46.     "Proc_SetFamilyID",         0,
  47.     "Test_RpcStub",             1,
  48.     "Test_StatsStub",           1,
  49.     "Vm_CreateVA",              1,
  50.     "Vm_DestroyVA",             1,
  51.     "Sig_UserSend",             0,
  52.     "Sig_Pause",                1,
  53.     "Sig_SetHoldMask",          1,
  54.     "Sig_SetAction",            1,
  55.     "Prof_Start",               1,
  56.     "Prof_End",                 1,
  57.     "Prof_DumpStub",            0,
  58.     "Vm_Cmd",                   0,
  59.     "Sys_GetTimeOfDay",         0,
  60.     "Sys_SetTimeOfDay",         0,
  61.     "Sys_DoNothing",            1,
  62.     "Proc_GetPCBInfo",          1,
  63.     "Vm_GetSegInfo",            1,
  64.     "Proc_GetResUsage",         0,
  65.     "Proc_GetPriority",         0,
  66.     "Proc_SetPriority",         0,
  67.     "Proc_Debug",               0,
  68.     "Proc_Profile",             0,
  69.     "Fs_TruncateStub",          1,
  70.     "Fs_TruncateIDStub",        1,
  71.     "Fs_GetNewIDStub",          1,
  72.     "Fs_GetAttributesStub",     1,
  73.     "Fs_GetAttributesIDStub",   1,
  74.     "Fs_SetAttributesStub",     1,
  75.     "Fs_SetAttributesIDStub",   1,
  76.     "Fs_SetDefPermStub",        1,
  77.     "Fs_IOControlStub",         1,
  78.     "Dev_VidEnable",            0,
  79.     "Proc_SetEnviron",          0,
  80.     "Proc_UnsetEnviron",        0,
  81.     "Proc_GetEnvironVar",       0,
  82.     "Proc_GetEnvironRange",     0,
  83.     "Proc_InstallEnviron",      0,
  84.     "Proc_CopyEnviron",         0,
  85.     "Sync_SlowLockStub",        1,
  86.     "Sync_SlowWaitStub",        1,
  87.     "Sync_SlowBroadcastStub",   1,
  88.     "Vm_PageSize",              1,
  89.     "Fs_HardLinkStub",          1,
  90.     "Fs_RenameStub",            1,
  91.     "Fs_SymLinkStub",           1,
  92.     "Fs_ReadLinkStub",          1,
  93.     "Fs_CreatePipeStub",        1,
  94.     "Vm_MapKernelIntoUser",     0,
  95.     "Fs_AttachDiskStub",        0,
  96.     "Fs_SelectStub",            1,
  97.     "Sys_Shutdown",             0,
  98.     "Proc_Migrate",             0,
  99.     "Fs_MakeDeviceStub",        1,
  100.     "Fs_CommandStub",           0,
  101.     "Fs_LockStub",              1,
  102.     "Sys_GetMachineInfo",     1,
  103.     "Net_InstallRoute",     0,
  104.     "Fs_ReadVector",         1,
  105.     "Fs_WriteVector",         1,
  106.     "Fs_CheckAccess",         1,
  107.     "Proc_GetIntervalTimer",     1,
  108.     "Proc_SetIntervalTimer",     1,
  109.     "Fs_FileWriteBackStub",    1,
  110.     "Proc_ExecEnv",        1,
  111.     "Fs_SetAttributes",        1,
  112.     "Fs_SetAttributesID",    1,
  113.     "Proc_GetHostIDs",        0,
  114. };
  115.  
  116. int sysCallArraySize = sizeof(sysCallArray);
  117.